package com.sxpi.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "costume_images")
@Slf4j
public class CostumeImages {
    @TableId
    private Long id; // 图片ID
    private Long costumeId;// 服装子级ID
    private String url;// 图片地址
    private Integer sortOrder;// 排序
    private Integer isMain;// 是否主图(1是0否)
    private LocalDateTime createdTime; // 创建时间
    private LocalDateTime updatedTime; // 更新时间
    private String createdBy; // 创建人昵称
    private String updatedBy; // 修改人昵称
}
